package com.baosu.util;

public class StringUtil {

    public static String setArticlePrefix(String content) {
        if(content.length() > 30){
            String substring = content.substring(0, 30);
            return substring;
        }else {
            return content;
        }
    }

}
